<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>

        <script>
            var baseUrl = "<?php print Yii::app()->baseUrl . '/index.php/'; ?>";
            var baseUrlClean = "<?php echo Yii::app()->baseUrl; ?>";
        </script>

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="language" content="en" />

        <!-- blueprint CSS framework -->
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/menu.css"/>
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/menu_1.css"/>
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css"/>
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/widgets.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/caja.css" />
        <link rel="stylesheet" type="text/css" media="print" href="<?php echo Yii::app()->request->baseUrl; ?>/css/impresora.css" />
        <!--<link rel="stylesheet" type="text/css" href="< ?php echo Yii::app()->request->baseUrl; ?>/css/style.css" />-->

        <title><?php echo CHtml::encode($this->pageTitle); ?></title>
        <?php // Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/main.js'); ?>
        <?php // Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/funciones.js'); ?>
           <?php Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/funciones.js'); ?>
        <?php Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/jquery.mask.min.js'); ?>
        <?php // Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/jquery.hotkeys-0.7.7-packed.js'); ?>
        



        <?php // Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/menu.js'); ?>
        <?php // Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/diasCalendario.js');?>



        <?php //Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/jquery-1.11.0.min.js'); ?>
    </head>

    <body>
        <div class="navbar navbar-fixed-top" >
            <div class="navbar-inner">
                <div class="container-fluid" id="navPrincipal">
                    <div class="row-fluid">
                        <div class="span3">
                            <div class="logo">
                                 <!--<p style="color:whitesmoke" class="navbar-text pull-left" > RESTAURANTE</p>-->
                                <p style="color:whitesmoke" class="navbar-text pull-left" >RESTAURANTE  <?php echo CHtml::image(Yii::app()->baseUrl . "/images/chef_pq.png") ?></p>
                            </div>
                        </div>

                        <div class="span8 offset1">



                            <div class="btn-group nav pull-right "> 
                                <a id="cerrarCajaMain" class="btn btn-warning" <?php echo CHtml::link('<i class="icon-white icon-shopping-cart "></i>&nbsp;&nbsp;Cerrar Caja') ?></a>                   
                            </div>
                        </div>


                    </div>

                </div>
            </div>
        </div>



        <div class="container-fluid" >
            <div class="row-fluid">

 <!--<div class="span12">-->
                        <div id="maiMessages" class="flash-messages">
                            <?php
                            $messages = Yii::app()->user->getFlashes();
                            if ($messages) {
                                foreach ($messages as $key => $message) {
                                    echo '<div class="alert alert-' . $key . '">'
                                    . '<button data-dismiss="alert" class="close" type="button">×</button>'
                                    . $message . "</div>\n";
                                }
                            }
                            ?>
                        </div>
                    <!--</div>-->


<!--                <div class="span12">-->
                    <?php echo $content; ?>
                <!--</div>-->
            </div>
        </div>

        <div class="clear"></div>

        <div id="footer">
            <!--FOOTER-->
        </div><!-- footer -->


        <div class="row-fluid">
            <?php
            // El modal de la pÃ¡gina
            $this->beginWidget('bootstrap.widgets.TbModal', array('id' => 'mainModal', 'options' => array('backdrop' => 'static')));
            $this->endWidget();
            ?>
        </div>
        <div class="row-fluid">
            <?php
            // El modal de la pÃ¡gina
            $this->beginWidget('bootstrap.widgets.TbModal', array('id' => 'mainModalPP', 'options' => array('backdrop' => 'static','class'=>'modalPP')));
            $this->endWidget();
            ?>
        </div>

    </body>
</html>
